package com.zzx.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzx.business.domain.BusinessTruckDriver;
import com.zzx.business.vo.BusinessTruckDriverVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货车信息Mapper接口
 *
 * @author Z、zx
 * @date 2024-08-21
 */
public interface BusinessTruckDriverMapper extends BaseMapper<BusinessTruckDriver> {

    Page<BusinessTruckDriverVo> queryList(Page<?> page, @Param("entity") BusinessTruckDriverVo entity);

    List<BusinessTruckDriverVo> queryList(@Param("entity") BusinessTruckDriverVo entity);

    BusinessTruckDriverVo queryById(@Param("id") Long id);

}
